#ifndef USERMANAGE_H
#define USERMANAGE_H

#include <QWidget>
#include "sqlitemanage.h"
#include "logclass.h"

QT_BEGIN_NAMESPACE
namespace Ui { class UserManage; }
QT_END_NAMESPACE

class UserManage : public QWidget
{
    Q_OBJECT

public:
    UserManage(QWidget *parent = nullptr);
    ~UserManage();
    void setWidgetInfo(QString);
    void setUserInfo(QString);
public slots:
    void onModiInfoBtnClicked();
    void onModiPassBtnClicked();

private:
    Ui::UserManage *ui;
    SqliteManage *m_pSqliteManage;
    QString user_role;
    QString UserName;
    QString PassWord;
    QString email;
    QString phone;
    QString nickname;
    LogClass *m_pLog;
};
#endif // USERMANAGE_H
